Release 10.1A: OpenEdge Development:
ADM Reference
viewObject
Procedure that logically views the current object and sets its ObjectHidden property to FALSE.
Location: smart.p Parameters: None Notes:
- The ADM supports a logical concept of viewing that you can apply to all objects regardless of whether they have a visualization.
- When an object is:
Examples:- When a SmartContainer is viewed, it is not necessary for all of the objects it contains to be individually viewed, because they are not explicitly hidden when the container is hidden (see hideObject). For this reason, viewObject, when executed for a SmartContainer, sets the property ContainerHidden to FALSE in each contained SmartObject, without actually running viewObject in each object. The setContainerHidden function then sets the ObjectHidden property to FALSE so that it can be queried successfully. Not running hideObject and viewObject in each individual SmartObject improves performance when SmartObjects are being paged (alternately hidden and viewed), and can eliminate problems with “flashing” of visual objects or problems restoring proper frame order when objects are hidden and viewed.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |